import { post } from '@/core/utils/http';
import type { Response, StoreListType } from '@/core/models';

/**  获取门店列表 */
export const queryStoreList = (data : any) : Promise<Response<any>> => {
	return post('Api/Store/GetStoreList', { data, });
}


/** 获取默认的门店 */
export const queryDefaultStore = () : Promise<Response<StoreListType>> => {
	return post('Api/Store/GetDefaultStore', {});
}